package com.app.server;

import com.xhga.register.RpcRegister;
import com.xhga.server.RpcServer;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * Created by Hua wb on 2018/11/30.
 */
@Configuration
public class ClientConfig {
    @Bean
    public RpcServer rpcServer(){
        return new RpcServer(new RpcRegister(), "localhost:8080");
    }
}
